package tag;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;

public class IfTag extends TagSupport{
	private Boolean test;
	public void setText(Boolean test) {
		this.test = test;
	}

	@Override
	public int doStartTag() throws JspException {
		if(test){
			return EVAL_BODY_INCLUDE;
		}else{
			return SKIP_BODY;
		}
		
	}


}
